package com.decheng.servlet;

import com.decheng.servlet.base.BaseServlet;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @Author 孔德成
 * @Slogan 致敬大师，致敬未来的你
 * @desc 管理员模块
 */
public class AdminServlet extends BaseServlet {

    /**
     * 跳转到后台管理界面
     */
    public void toManagePage(HttpServletRequest request, HttpServletResponse response) throws IOException {
        engine.processTemplate("manager/manager", request, response);
    }
}
